#include <bits/stdc++.h>
#define ll long long
#define isok cout << "ok" << endl
#define db(s,a) cout << s << ":" << a << endl
#define dbarr(a,n) for(ll i=1;i<=n;i++) cout << a[i] << " " ; cout << endl
#define read(n) scanf("%lld",&n)
#define write(n) printf("%lld\n",n)
using namespace std ;
ll t ;
int main(){
    freopen("arena.in","r",stdin) ;
    freopen("arena.out","w",stdout) ;
    read(t) ;
    while(t--){
        write(0LL) ;
    }
    return 0 ;
}
